home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 04 (1988)(MegaDisc Digital Publishing)(AU)[WB].zip / MegaDisc 04 (1988)(MegaDisc Digital Publishing)(AU)[WB].adf / DIY-MIDI / DIY_Amiga_Midi < prev    next >
Text File  |  2007-12-01  |  7KB  |  180 lines

  1.  
  2.  
  3.                           D.I.Y. Amiga MIDI
  4.                           -----------------
  5.  
  6.                                               ............by Steve Wright.
  7.   
  8.       Ed. note: Steve's come up with another very useful contribution
  9.       for the hobbyist/musician. Follow directions and you'll have a
  10.       very cheap MIDI interface. If you find the graphics flashing when
  11.       you double-click on the icon, just press the TAB key to turn it 
  12.       off. 
  13.  
  14.  
  15.  
  16.  
  17.  
  18. I don't know about you but it's frustrating to pick up and read mags like
  19. "Amiga World" and "Amazing Computing" and see the advertized prices for
  20. articles a third of the price asked for here in OZ. We all know the reasons
  21. for it, Duties, exchange rates, etc, but this doesn't seem to ease the pain
  22. much.
  23.  
  24. Whats the answer? Locally produced or manufactured items certainly have a
  25. more attractive price tag. Distribution under licence of copied software
  26. where only royalties to the OS writers leave the country can also lower the
  27. price. Or, Do-It-Yourself (D.I.Y.).
  28.  
  29.  
  30. D.I.Y. Midi
  31. -----------
  32.  
  33. This article we'll show you how to make your own Midi interface for around
  34. $30.00 which works as well as any you can buy with a nice added feature to
  35. boot.
  36.  
  37. The design of the circuitry can be the basis of a larger unit, eg., Matrix
  38. box, Thru box, etc, but of course this is totally optional as this unit
  39. described here works well as is. For cost reasons I haven't included a serial
  40. pass-through, although it can be added if wished. I've included 2 LED
  41. indicators to visually show the signal coming to and from the interface for
  42. those times when patching troubles between Midi units become frustrating and
  43. not knowing where the problem lies.
  44.  
  45.  
  46. Operation
  47. ---------
  48.  
  49.  
  50. The Midi-In signal is received via pin 5 of the Midi-In DIN socket and
  51. passed to the opto-coupler (IC1) which electricaly isolates the input signal
  52. from the rest of the circuit. Notice that no ground is connected on Midi-In.
  53. This eliminates current loops and other sources of hum. D1 guards against
  54. reverse polarity.
  55.  
  56. The output from the opto-coupler is sent to two inverter buffers (IC2)
  57. connected in parallel. Buffer IC2c inverts the signal and sends it to pin 3
  58. (Rx) on the Amiga's serial port. Buffer IC2e receives the same signal as
  59. IC2c and is used to iluminate the Midi-In LED.
  60.  
  61. Midi-Thru is simply passed through buffer IC2d who's signal was taken from
  62. the output of IC2c.
  63.  
  64. Midi-Out's signal is passed from pin 2 (Tx) on the Amiga's serial port to
  65. buffer IC2a, resister R4 and then on to pin 5 of the Midi-Out DIN socket.
  66. Buffer IC2f is run in series to IC2a for the Midi-Out LED.
  67.  
  68. Midi-Thru & Out's power on pin 4 of their DIN sockets is run to the Amiga's
  69. +5v rail via the R3 resister.
  70.  
  71. The Amiga's serial pins 21 (+5v) and 7 (Gnd) are also used to power the
  72. IC's. So in all only four wires connect the Midi interface and the serial
  73. port.
  74.  
  75.  
  76. Construction
  77. ------------
  78.  
  79.  
  80. You will note from one of the pics I used a Versa Strip board for the
  81. circuit (DSE cat # H-5616). It ended up quite compact and neat. You can use
  82. a standard strip board if you wish. Cut the Versa Strip board down to suit.
  83. One Versa Strip board will make about 5 or 6 Midi boards.
  84.  
  85. Its best to install the small items first, such as resistors, diode and IC
  86. sockets. I always use IC sockets or Molex pins, they can be eliminated if
  87. you're brave.
  88.  
  89. Double check your soldering before inserting the IC's. The 6N138 IC can be
  90. damaged by static electricity. So, fingers off the pins and keep it in the
  91. foiled foam until you're ready to plug it into its socket.
  92.  
  93. Now solder the LEDs in by extending the legs with short pieces of hook-up
  94. wire (about 50mm), not forgetting about polarities.
  95.  
  96. The wiring up is now fairly straightforward. I used line DIN sockets,
  97. although panel DIN sockets may make the hook-up easier, but the housing box
  98. may need to be enlarged to accommodate them. The smallest jiffy box I could
  99. find worked and looked fine (28x54x83mm). The 25 pin DP plug should be on a
  100. cable length of at least 400mm so as to allow the unit to sit beside and to
  101. the front of your Amiga unless you omit the LEDs and don't require the 
  102. visual indication of the signal flow, then of course the cable length can
  103. be as short as you wish.
  104.  
  105. When the board is cut to its correct size, it fits very neatly into the
  106. ribbed sides of the jiffy box, negating the need for any fixing reqirements.
  107. With this in place insert the LEDs into the holes at the front of the unit;
  108. mounting bezels look good but can be left out.
  109.  
  110. Screw the lid on, plug it in and voila!
  111.  
  112. A few hours, a few dollars and you're plugged into the Amiga Midi world.
  113.  
  114. Enjoy.
  115.  
  116.  
  117. Options
  118. -------
  119.  
  120.  
  121. As I said earlier there could be many options, but one easy one is to add
  122. an extra Midi-Out for the cost of only a resistor and a DIN socket. Connect
  123. pin 1 to pin 3 of IC2, and to pin 4 connect a 220R resistor, then from this
  124. resistor run to pin 5 of the second Midi-Out DIN socket. Pin 4 of the DIN is
  125. as per the Midi-Thru & Out. PIN 2 to earth. Easy.
  126.  
  127.  
  128. Parts List
  129. ----------
  130.  
  131.  
  132. Resistors  (all ¼ watt 5%)
  133.  
  134.            R1-4 .......... 220R                    (DSE $0.07 ea)
  135.            R5-6 .......... 100R                      "     "
  136.            R7   .......... 1k                        "     "
  137.  
  138. Semiconductors
  139.  
  140.            D1   .......... 1N914                   (DSE $0.05)
  141.            IC1  .......... 6N138                   (Geoff Woods $8.96)
  142.            IC2  .......... 74LS04                  (DSE $0.70)
  143.            LED1 .......... red 5mm                 (DSE $0.45)
  144.            LED2 .......... green 5mm               (DSE $0.50)
  145.  
  146. Miscellaneous
  147.  
  148.            3×5 pin line DIN sockets                (DSE $1.15 ea)
  149.            25 pin DP plug incl back shell          (Jaycar $6.15)
  150.            Jiffy box                               (DSE $2.30)
  151.            8 pin IC socket                         (DSE $0.20)
  152.            14 pin IC socket                        (DSE $0.25)
  153.            2×LED mounting bezels                   (DSE $1.35 ea)
  154.            Versa strip board                       (DSE $4.95)
  155.            1m twin shielded flex                   (DSE $0.85)
  156.            1m 4-core flex                          (DSE $0.95)
  157.                                                    -----------
  158.                                         Total           $32.95 
  159.                                                    -----------
  160.  
  161.  
  162. Note :- All items listed were available at time of writing and prices
  163.         indicated are supplied as a guide only.
  164.  
  165.  
  166.  
  167. ____________________________________________________________________________
  168.  
  169.  
  170.  
  171.  
  172.  
  173. Till next time ..............................................Steve Wright.
  174.  
  175.  
  176.